﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using WooCoo.DataPortal.Client;

namespace WooCoo.DataPortal
{
    public interface IQuery
    {
        /// <summary>
        /// 将查询表达式转化为查询组件，实现类中需要根据不同的代理特殊处理
        /// </summary>
        /// <param name="e"></param>
        /// <returns></returns>
        QueryComponents Translate(Expression e);
    }
}
